#bash
function funA(){
echo "this is a fun $1"
echo "this is a fun $2"
echo "this is a fun $3"
echo "this is a fun $4"
echo "this is a fun $@"
echo "this is a fun $#"
sum=`expr $1+$2+$3+$4`
echo $sum
echo $@
echo `expr 10 + 10`;
}

function demoFun2(){
echo "这是我的第二个 shell 函数!"
expr 1 + 1
}



function express(){
echo `expr 1 + 1`;
tt=`expr 1 + 1`
echo $tt
}

fungrep(){
if echo "Hello World !" | grep -e Hello
then
echo true
else
echo false
fi
}

fungrep(){
if echo "123asdzxc"  | grep -e 12
then
echo include 123
else
echo uninclude 123
fi
}

echo beginn
#funA 11 22 33 44
#demoFun2
#fungrep
fungrep
echo endd





